package com.ry.novel.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ry.novel.model.dto.NewsInfo;
import com.ry.novel.model.dto.condition.NewsQuery;

/**
 * @author ry
 * @since 2022-04-10 15:31
 **/
public interface NewsService {
    Page<NewsInfo> queryNews(NewsQuery newsQuery);
    void addNews(NewsInfo newsInfo);
    void updateNews(NewsInfo newsInfo);
    void deleteNews(Long id);
}
